@import './../common.less';
@import './../lxa.less';
@import './skuPopup.less';
.page-wrapper{
  overflow: hidden;
  min-height: calc(100vh - 2.66rem);
  // banner图
  .goods-main-info {
    width: 100%;
    background-color: #fff;

    .goods-imgs {
      width: 100%;
      height: 20rem;

      .banners {
        height: 20rem;
      }

      .slide-image {
        width: 100%;
        height: 20rem;
      }
    }

    .goods-title {
      .goods-price {
        display: flex;
        justify-content: space-between;

        .price {
          vertical-align: bottom;

          .main-price {
            display: inline;
            font-size: 30px;
            color: @orange;

            .icon-rmb {
              display: inline;
              font-size: 15px;
            }
          }

          .sub-price {
            display: inline;
            font-size: 15px;
            color: @lightBlack;
            text-decoration: line-through;
            margin-left: 0.26rem;
          }
        }

        .store {
          display: inline;
          font-size: 15px;
          line-height: 50px;
          color: @lightBlack;
          vertical-align: bottom;
        }
      }

      .goods-name {
        font-size: 16px;
        line-height: 24px;
        color: #1f1f1f;
      }
    }
  }

  .main-detail-content {
    padding-bottom: 2.66rem;
  }

  // 规格
  .team-main-info,
  .sku-info {
    height: 1.33rem;
    background-color: #fff;
    margin-top: 0.26rem;
    line-height: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .sku-title {
      font-size: 15px;
      color: @black;
    }

    .select {
      display: flex;
      align-items: center;
      color: @greydark;

      .icon-go {
        width: 10.13rem;
        height: 0.8rem;
        margin-left: 0.26rem;
      }
    }
  }

  .team-info {
    margin-top: 0.26rem;
    background-color: #fff;

    .info-header {
      display: flex;
      align-items: center;
      border-bottom: 1px solid @grey-4;

      .head-img {
        width: 1.6rem;
        height: 1.6rem;
      }

      .name {
        flex: 1;
        width: 0;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        padding-left: 0.26rem;
        font-size: 15px;
        color: @black;
      }
    }

    .team-detail {
      .team-main-info {
        border-bottom: 1px solid @grey-4;
      }
    }
  }

  .item-list {
    padding-left: 20.13rem;

    .team-it {
      display: flex;
      justify-content: space-between;
      padding: 20.13rem 20.13rem 20.13rem 0;
      border-bottom: 1px solid @grey-4;

      &:last-child {
        border-bottom: 0;
      }

      .it-user {
        display: flex;
        align-items: center;

        .it-img {
          width: 1.33rem;
          height: 1.33rem;
          border-radius: 20.13rem;
        }

        .user-name {
          width: 5.33rem;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          font-size: 14px;
          margin-left: 0.26rem;
          color: @black;
        }
      }

      .user-it-info {
        display: flex;
        align-items: center;

        .tip {
          display: inline-block;
          font-size: 13px;
          color: @lightBlack;

          .style {
            display: inline;
            color: @orange;
          }
        }

        .team-btn {
          margin-left: 0.53rem;
          font-size: 20.13rem;
          display: inline-block;
          .btn(@w: 11.06rem, @h: 1.33rem, @c: #fff, @br: 20.13rem, @bg: @orange);
        }
      }
    }
  }

  .fix-footer {
    position: fixed;
    bottom: 0;
    height: 2.66rem;
    width: 100%;
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    z-index: 9;
    .service {
      width: 12rem;
      text-align: center;
      color: @lightBlack;
      padding: 0;
      padding-top: 0.21rem;
      font-size: 15px;
      line-height: 15px;
      background-color: #fff;
      border: none;

      .service-img {
        margin-top: 0.26rem;
      }

      .icon-service {
        width: 1rem;
        height: 1rem;
      }
    }

    .handle-btns {
      flex: 1;
      display: flex;

      .btn {
        flex: 1;
        text-align: center;
        font-size: 15px;
        background-color: #ff9730;
        color: #fff;

        &.shop-btn {
          background-color: #8a807a;
        }

        .price {
          margin-top: 0.26rem;
        }
      }
    }
  }

  .team-modal {
    width: 80%;

    .team-modal-content {
      background-color: #fff;
      border-radius: 5px;
      overflow: hidden;
      max-height: 16rem;
      overflow-y: auto;

      &.join-team {
        padding: 60.13rem 0;
      }

      .team-modal-title {
        height: 2.4rem;
        line-height: 2.4rem;
        text-align: center;
        border-bottom: 1px solid @grey-4;
      }
      .main-title {
        font-size: 15px;
        line-height: 30px;
        color: @black;
        text-align: center;
      }

      .sub-title {
        font-size: 14px;
        text-align: center;
        color: @lightBlack;
      }

      .head-imgs {
        text-align: center;
        padding: 1.33rem;

        .it-img {
          display: inline-block;
          width: 10.53rem;
          height: 10.53rem;
          border-radius: 1.6rem;
          overflow: hidden;
          margin: 0 10.13rem;
        }
      }

      .sub-btn {
        margin: 0 auto; 
        .btn(@w: 10.66rem, @h: 1.86rem, @c: #fff, @br: 30.13rem, @bg: @orange);
      }
    }

    .close-btn {
      height: 1.6rem;
      width: 1.6rem;
      margin: 1.6rem auto;

      .icon-close {
        height: 1.6rem;
        width: 1.6rem;
      }
    }
  }
}

